<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="/common.jsp"></jsp:include>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>登录页面</title>
    </head>
    <body>
        <div class="hero-unit">
            <h2>CRM管理系统</h2>
        </div>
        <form action="login" method="post" class="form-horizontal ">
            <div class="control-group">
                <label for="username" class="control-label">名称:</label>
                <div class="controls">
                    <input type="text" id="username" name="username"  value="${username}" class="input-medium required"/>
                </div>
            </div>
            <div class="control-group">
                <label for="password" class="control-label">密码:</label>
                <div class="controls">
                    <input type="password" id="password" name="password" class="input-medium required"/>
                </div>
            </div>

            <div class="control-group">
                <div class="controls">
                    <label class="checkbox" for="rememberMe"><input type="checkbox" id="rememberMe" name="rememberMe"/> 记住我</label>
                    <input id="submit_btn" class="btn btn-primary" type="submit" value="登录"/> <a class="btn" href="${ctx}/register">注册</a>
                    <span class="help-block">(管理员: <b>admin/admin</b>, 普通用户: <b>user/user</b>)</span>
                </div>
            </div>
        </form>
    </body>
</html>
